﻿
Partial Class CtrlUsr_Acciones_Up_Ctrl_Personas
    Inherits CtrlUsrComun

    Public Event SelClicked As EventHandler

    Public ReadOnly Property Nombre() As String
        Get
            Return Me.Ctrl_Personas1.Nombre
        End Get
    End Property
    Public Property Tipo() As String
        Get
            Return Me.Ctrl_Personas1.Tipo
        End Get
        Set(ByVal value As String)
            Me.Ctrl_Personas1.Tipo = value
        End Set
    End Property

    Public ReadOnly Property Identificacion() As String
        Get
            Return Me.Ctrl_Personas1.Identificacion
        End Get
    End Property

    Protected Overridable Sub Onclick(ByVal sender As Object)
        RaiseEvent SelClicked(sender, New EventArgs)
    End Sub

    Protected Sub Ctrl_Apoderados1_SelClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles Ctrl_Personas1.SelClicked
        Onclick(sender)
    End Sub

    Public Sub Mostrar()
        Me.modalPopupCon.Show()
    End Sub

    Public Sub Ocultar()
        Me.modalPopupCon.Hide()
    End Sub

End Class
